package com.project.estate.car.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.estate.commons.bean.Car;
import com.project.estate.commons.config.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface CarService extends IService<Car> {
    //添加车龄
    JsonResult addCar(Car car);

    //删除车辆
    JsonResult deleteCar(String picId);

    //查询车龄
    JsonResult findCar(String picId);

    //修改车辆
    JsonResult updateCar(String picId, Car car);

    //全查询车辆
    JsonResult findAllCars();
}
